package com.waste.game.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.waste.game.entity.entitiytv.VideoRPBean;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional(rollbackFor = RuntimeException.class)
public interface VideoRPDao extends BaseMapper<VideoRPBean> {
    //查询视频锐评
//    @Select("SELECT vc_name,vc_title,vc_body,vc_type,vc_uptime,vc_num FROM videorp WHERE v_id = #{num} LIMIT 3")
    List<VideoRPBean> getVideoRP(@Param("num") int num);
}
